package day9;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

/**
 * @author oldliu
 * @since 1.0
 */
public class Write1000 {
    public static void main(String[] args) {
        try {
            Writer w=new FileWriter("D:\\Documents\\桌面\\3333.txt");
           w.write(10000);
            w.write("10000");
            w.write("20000");
            w.write("21016");
            w.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
